/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.curso.dao.serializables;

import com.curso.model.User;
import java.io.Serializable;
import java.util.List;

/**
 *
 * @author Andres
 */
public class UserDaoSer extends GenericDaoSer<User, Serializable> {
    
    
    public User save(User user){
        return this.persist(user);
    }

    @Override
    public List<User> getAll() {
        return getAll(User.class);
    }

   
    public Boolean removeUser(User t) {
        return this.remove(t);
    } 
}
